<?php

namespace app\api\controller\v1;

use app\common\controller\BaseController;
use app\common\model\GoodClass as GoodClassModel;

class GoodClass extends BaseController
{
    // 获取商品列表
    public function index()
    {
        $list = (new GoodClassModel())->getGoodClassList();
        return self::showResCode('获取成功',compact('list'));
    }
}
